package com.cluster.platform.service;

import com.cluster.platform.common.api.CommonResult;
import com.cluster.platform.model.CmsCommentsReply;

import java.util.List;

/**
 * 回复评论功能
 */
public interface CmsCommentsReplyService {

    /**
     * 新增回复
     */
    CommonResult<Object> addCommentsReply(CmsCommentsReply cmsCommentsReply);

    /**
     * 查询所有回复信息
     */
    CommonResult<Object> searchCommentsReply(CmsCommentsReply cmsCommentsReply);

    /**
     * 根据条件分页查询
     */
    CommonResult<Object> searchCommentsReplyPageBy(CmsCommentsReply cmsCommentsReply,Integer pageNum,Integer pageSize);

    /**
     * 删除回复-逻辑
     */
    CommonResult<Object> deleteCommentsReply(String id);

    /**
     * 批量删除
     */
    CommonResult<Object> batchDeleteCommentsReply(List<CmsCommentsReply> cmsCommentsReplies);
}
